﻿using System.Drawing;
using System.IO;

namespace MyPaint.Models
{
    public class PPFileInfo
    {
        /// <summary>
        /// 文件信息
        /// </summary>
        public FileInfo fileInfo { get; set; }

        /// <summary>
        /// 图像计量单位
        /// </summary>
        public Unit unit { get; set; } = Unit.Pixel;

        /// <summary>
        /// 图像容器大小
        /// </summary>
        public Size picBoxSize { get; set; }

        /// <summary>
        /// 是否彩色
        /// </summary>
        public bool isColorful { get; set; } = true;
    }

    public enum Unit
    {
        Inch,
        CM,
        Pixel
    }
}
